package services;

public class OrderService {
    private final UserService userService;

    public OrderService(UserService userService) {
        this.userService = userService;
    }

    public String getOrderInfo() {
        return "Order Info for user: " + userService.getUserInfo();
    }

    public String getUserOrder(int userId) {
        return "Order for user: " + userService.getUserById(userId);
    }
}